﻿namespace Framework.Interface
{
    public interface ITranslate<TSource, TTarget>
    {
        /// <summary>
        /// Translates object of type 'TSource' into a new instace of object type 'TTarget'.
        /// </summary>
        /// <param name="source">The object off type 'A' to translate</param>
        /// <returns>Returns translated of type 'TTarget'</returns>
        TTarget Convert(TSource source);
    }
}